package view;

import java.awt.Dimension;

import javax.swing.JFrame;

public class CrawlFrame extends JFrame {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private CrawlPanel myCP;
	
	public CrawlFrame() {
		super("Group 6 Web Crawler");
		init();
	}
	
	/**
	 * Initializes the CrawlFrame
	 */
	private void init() {
		
		
		
		myCP = new CrawlPanel();
		add(myCP);
		
		pack();
		setLocationRelativeTo(null);
		setPreferredSize(new Dimension(900, 500));
		setResizable(false);
		setVisible(true);
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

	}
	
	public CrawlPanel getCrawlPanel() {
		return myCP;
	}

}
